package urnav.example.com;

import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.util.Log;

public class Survey {
	
	String TAG="URNav";
	boolean openActivity;
	
	public void waitSurvey (boolean open, Handler myHandler2) {
		Log.i(TAG, "waitSurvey");
		
	
	
	openActivity=open; 
	
	if (openActivity==false) {
		update(myHandler2, openActivity);
	}
	}
	
	public void update (Handler myHandler2, boolean openActivity) {
		
			Bundle myBundle= new Bundle();
			Message myMessage= new Message();
			myBundle.putBoolean("open", openActivity);
			myMessage.setData(myBundle);
			myHandler2.sendMessage(myMessage);
			
		}
	
	}

